import metaInterface from '../../meta.interface';
import { CalendarOutlined } from "@ant-design/icons-vue";
export default {
  path: 'individualOrders',
  name: 'individualOrders',
  meta: {
    title: '个单管理',
    icon: () => <CalendarOutlined />,
  } as metaInterface,
  children: [
    {
      path: 'order',
      name: 'order',
      meta: {
        title: '保险订单',
      } as metaInterface,
      children: [
        {
          path: 'orderListPage',
          name: 'orderListPage',
          component: () => import('@/views/index/individualOrders/order/orderListPage/orderListPage'),
          meta: {
            title: '订单列表',
          } as metaInterface,
        },
        {
          path: 'orderDetailPage',
          name: 'orderDetailPage',
          component: () => import('@/views/index/individualOrders/order/orderDetailPage/orderDetailPage'),
          meta: {
            title: '订单详情',
            activeMenu: 'orderListPage',
          } as metaInterface,
        },
      ]
    },
    {
      path: 'insurancePolicy',
      name: 'insurancePolicy',
      meta: {
        title: '保险单',
      } as metaInterface,
      children: [
        {
          path: 'insurancePolicyPage',
          name: 'insurancePolicyPage',
          component: () => import('@/views/index/individualOrders/insurancePolicy/insurancePolicyPage/insurancePolicyPage'),
          meta: {
            title: '保单列表',
          } as metaInterface,
        },
        {
          path: 'insurancePolicyDetailPage',
          name: 'insurancePolicyDetailPage',
          component: () => import('@/views/index/individualOrders/insurancePolicy/insurancePolicyDetailPage/insurancePolicyDetailPage'),
          meta: {
            title: '保单详情',
            activeMenu: 'insurancePolicyPage',
          } as metaInterface,
        },
      ]
    },
    {
      path: 'promotion',
      name: 'promotion',
      meta: {
        title: '个单推广',
      } as metaInterface,
      children: [
        {
          path: 'ChannelManage',
          name: 'promotionChannelManage',
          component: () => import('@/views/index/individualOrders/promotion/channelManage/channelManage'),
          meta: {
            title: '个单渠道管理',
          } as metaInterface,
        },
      ],
    }
  ],
}